<template>
	<view style="padding: 30rpx;">
		<navigator url="/pages/APIpages/LogPage/LogPage">
			<button>打印日志</button>
		 </navigator>
		 <!-- uni.nacigateTo -->
		<navigator url="/pages/APIpages/TimerPage/TimerPage">
			<button>计时器</button>
		 </navigator>
		<navigator url="/pages/APIpages/StoragePage/StoragePage" open-type="navigate">
			<button>数据缓存</button>
		 </navigator>
		 <button @click="goStoPage()">页面刷新</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		// onLoad() {
		// 	uni.preloadPage({
		// 		url:"/pages/APIpages/StoragePage/StoragePage"
		// 	})
		// },
		methods: {
			// goStoPage() {
			// 	uni.navigateTo({
			// 		url:"/pages/APIpages/StoragePage/StoragePage",
			// 		success() {
			// 			console.log("navigateTo---->success");
			// 		},
			// 		fail(e) {
			// 			console.log("navigateTo---->fail: " + JSON.stringify(e));
			// 		},
			// 		complete() {
			// 			console.log("navigateTo---->complete");
			// 		}
			// 		});
		}
	}
</script>

<style>
button{
	margin: 20rpx;
}
</style>
